Skip to content

Cleaned up styling, added home button to every page#2

Open
pwcarney wants to merge 2 commits intoSebby37:mainfrom
pwcarney:new-index
Open

Cleaned up styling, added home button to every page#2
pwcarney wants to merge 2 commits intoSebby37:mainfrom
pwcarney:new-index

Conversation

@pwcarney
Copy link

@pwcarney pwcarney commented Apr 24, 2024

I broke out index into its own file and added some basic styling, added a style.css in the static folder and added functionality adding a home page button to the upper left of every page (so the user can get back to the search and try something new). I also made it open the web browser a second after booting up because I'm lazy but we can make that a config setting if you want.

Zetaphor added a commit to Zetaphor/Dead-Internet that referenced this pull request Apr 25, 2024
@olbauday
Copy link

I kept getting an issue where the index page wasn't functioning as expected. To resolve this, I created a static index.html file and placed it within a Python file (e.g., index.py). I then imported the get_index function from this file into main.py to serve the static index page.

Zetaphor added a commit to Zetaphor/Dead-Internet that referenced this pull request Apr 27, 2024
Just-Arandom-Guy added a commit to Just-Arandom-Guy/Dead-Internet that referenced this pull request Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants